home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT-D.SPK / lclint / guide / fig14-out < prev    next >
Text File  |  1996-08-26  |  1KB  |  29 lines

  1. LCLint 2.2 --- 25 Aug 96
  2.  
  3. annotglobs.c: (in function initialize)
  4. <A HREF="annotglobs.c.html#line14" target="source">annotglobs.c:14,17</A>: Undef global globnum used before
  5.                        definition
  6.   An rvalue is used that may not be initialized to a
  7.   value on some execution path. (-usedef will suppress
  8.   message)
  9. <A HREF="annotglobs.c.html#line16" target="source">annotglobs.c:16,2</A>: Global storage globname contains 1
  10.     undefined field when call returns: firstname
  11.   Storage derivable from a parameter, return value or
  12.   global is not defined. Use /*@out@*/ to denote
  13.   passed or returned storage which need not be
  14.   defined. (-compdef will suppress message)
  15. annotglobs.c: (in function finalize)
  16. <A HREF="annotglobs.c.html#line22" target="source">annotglobs.c:22,2</A>: Only storage globname.firstname
  17.     (type char *) derived from killed global is not
  18.     released (memory leak)
  19.   A storage leak due to incomplete deallocation of a
  20.   structure or deep pointer is suspected. Unshared
  21.   storage that is reachable from a reference that is
  22.   being deallocated has not yet been deallocated.
  23.   LCLint assumes when an object is passed as an out
  24.   only void pointer that the outer object will be
  25.   deallocated, but the inner objects will not.
  26.   (-compdestroy will suppress message)
  27.  
  28. Finished LCLint checking --- 3 code errors found
  29.